home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-09-17 | 4.9 KB | 161 lines | [SGPA/SCPG] |
- on Build
- dodocsetup
- locatefonts
- newpublication pages 1 columns 0 PageWidth 594 PageHeight 841 pageorientation portrait topmargin 38 bottommargin 38 leftmargin 35 rightmargin 35
- set gridsettings to 18,18
- set displayinvisibles to false
- set facingpages to false
- set gridsnap to false
- set lockguides to false
- set magneticguides to false
- set printcoloroptions to false
- set printcolornames to true
- set printcutouts to true
- set printregistrationmarks to false
- set printmarksoptions to no
- set printpageoptions to all
- set printtypeoptions to publication
- set spotcolor 1 to 0,0,0
- set spotcolor 2 to 65535,65535,65535
- set spotcolor 3 to 62167,2134,34028
- set spotcolor 4 to 0,32768,4528
- set spotcolor 5 to 577,43860,60159
- set spotcolor 6 to 56683,2242,1698
- set spotcolor 7 to 0,0,54272
- set spotcolor 8 to 64512,62333,1327
- set mousecursor to roll
- set mousecursor to roll
- goto rightbackground
- PublicationSetup columns 1
- set mousecursor to roll
- goto page 1
- -- •p1 1•
- draw Rectangle 35,765,70,803
- set framelinetype of last object to 2
- set fillpattern of last object to 0
- set croprectangle of last object to 0,0,36,39
- -- •p1 2•
- draw Rectangle 35,344,393,587
- set framelinetype of last object to 2
- set shadowoffset of last object to 2
- set shadowpattern of last object to 10
- set croprectangle of last object to 0,0,358,243
- -- •p1 3•
- draw Rectangle 406,344,559,373
- set locked of last object to true
- set framelinetype of last object to 2
- set fillpattern of last object to 18
- set croprectangle of last object to 0,0,153,29
- -- •p1 4•
- draw Line 406,344,406,803
- set locked of last object to true
- set framelinetype of last object to 2
- set fillpattern of last object to 18
- -- •p1 5•
- draw rectangle 35,31,559,107
- set locked of last object to true
- set framelinetype of last object to 2
- set fillpattern of last object to 0
- set linepattern of last object to 0
- -- •p1 6•
- draw rectangle 35,106,559,145
- set locked of last object to true
- set framelinetype of last object to 2
- set fillpattern of last object to 0
- set linepattern of last object to 0
- -- •p1 7•
- draw rectangle 35,161,559,340
- -- •p1 8•
- draw rectangle 35,594,399,742
- set framelinetype of last object to 2
- set fillpattern of last object to 0
- set linepattern of last object to 0
- -- •p1 9•
- draw rectangle 417,374,559,803
- set locked of last object to true
- set framelinetype of last object to 2
- set fillpattern of last object to 0
- set linepattern of last object to 0
- -- •p1 10•
- draw rectangle 79,766,370,809
- set locked of last object to true
- set framelinetype of last object to 2
- set linepattern of last object to 0
- PublicationSetup columns 1
- progressdialog show "creating stories"
- set the mousecursor to roll
- link page objects 1,7,1,8 to story "!bodytext"
- set the name of last story to "bodytext"
- put space into story "bodytext"
- select all text in story "bodytext"
- textsetup Times "bold,italic" 18 center
- set the mousecursor to roll
- link page objects 1,9 to story "!selling_points"
- set the name of last story to "selling_points"
- put space into story "selling_points"
- select all text in story "selling_points"
- textsetup Helvetica "bold,italic" 14 left
- set the mousecursor to roll
- link page objects 1,10 to story "!address"
- set the name of last story to "address"
- put space into story "address"
- select all text in story "address"
- textsetup Times "bold" 14 left
- set the mousecursor to roll
- link page objects 1,6 to story "!subhead"
- set the name of last story to "subhead"
- put space into story "subhead"
- select all text in story "subhead"
- textsetup Times "bold,italic" 18 center
- set the mousecursor to roll
- link page objects 1,5 to story "!headline"
- set the name of last story to "headline"
- put space into story "headline"
- select all text in story "headline"
- textsetup Times "bold" 48 center
- choose maintool
- progressdialog hide
- end Build
-
-
- on locatefonts
- global vHelvetica, vPalatino, vTimes, vNewYork, systemfonts
- put fontfamilies into systemfonts
- if systemfonts contains "New York" then put "New York" into vNewYork
- else put "Geneva" into vNewYork
- if systemfonts contains "helvetica" then put "helvetica" into vHelvetica
- else put "Geneva" into vHelvetica
- if systemfonts contains "Times" then put "Times" into vTimes
- else put vNewYork into vTimes
- if systemfonts contains "Palatino" then put "Palatino" into vPalatino
- else put vTimes into vPalatino
-
- end locatefonts
-
- on dodocsetup
- global usersOldMeasurement
- set lockscreen to true
- Set ShuffleTextObjects to false
- put measurements into usersOldMeasurement
- set measurements to points
- set displayguides to false
- set view to actual
- set itemdel to ","
- set worddel to space
- set linedel to cr
- set saveglobals to true
- progressdialog open
- progressdialog show "creating publication"
- end dodocsetup
-
- on textsetup thefont, theface, thesize, thejust
- global vHelvetica, vPalatino, vTimes, vNewYork
- set styleRecomposition to false
- set the textfont to value("v"&thefont)
- do "set the textface to "&theface
- set the textsize to thesize
- set the rulerjustification to thejust
- set styleRecomposition to true
- end textsetup
-